package com.four.dailymanage.repair.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RepairApply {
    //主键
    private Integer id;
    //部门
    private String dept;
    //门牌号
    private String door;
    //报修人
    private String sname;
    //报修内容
    private String content;
    //报修时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-hh HH:mm:ss",timezone = "Asia/Shanghai")
    private String repairDt;
    //其他
    private String other;
    //状态 待接单   已撤销  已接单  已退单
    private String status;
    //撤销原因
    private String reason;
    //接单人
    private String repairMan;
    //维修情况
    private String situation;
    //维修完成时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-hh HH:mm:ss",timezone = "Asia/Shanghai")
    private String  loppyDt;


}
